package com.guhecloud.step.definition.runtime;

import java.util.List;

/**
 * 扩展点方法的返回值类型
 */
public interface IReducer<R> {
    R reduce(List<R> accumulatedResults);


    boolean shouldStop(List<R> accumulatedResults);
}
